#ifndef DRAWABLE_H
#define DRAWABLE_H

#include<QRect>
#include<QPoint>
#include<QColor>
#include<QtOpenGL>
#include<math.h>

#include "./tagable/tagable.h"

#include "coordstransformer.h"

#define PI 3.14159265

class Drawable: public Tagable
{
protected:
    QColor _color;
    QColor _defaultColor;

public:
    Drawable();
    virtual void draw(CoodrsTransformer *coordsTransformer=0)=0;
    virtual QRectF getBoundingBox()=0;
    virtual void setColor(QColor color);
    virtual void resetColor();    
};

#endif // DRAWABLE_H
